home *** CD-ROM | disk | FTP | other *** search
- game_so = SharedObject.getLocal("neaveSnake");
- score = 0;
- level = 2;
- f1_mc.onEnterFrame = f2_mc.onEnterFrame = f3_mc.onEnterFrame = f4_mc.onEnterFrame = function()
- {
- this._rotation += 5;
- };
- slug_btn.onRollOver = function()
- {
- slug_mc.gotoAndStop(2);
- };
- slug_btn.onRollOut = slug_btn.onDragOut = function()
- {
- slug_mc.gotoAndStop(1);
- };
- slug_btn.onRelease = function()
- {
- level = 2;
- play();
- };
- worm_btn.onRollOver = function()
- {
- worm_mc.gotoAndStop(2);
- };
- worm_btn.onRollOut = worm_btn.onDragOut = function()
- {
- worm_mc.gotoAndStop(1);
- };
- worm_btn.onRelease = function()
- {
- level = 1;
- play();
- };
- python_btn.onRollOver = function()
- {
- python_mc.gotoAndStop(2);
- };
- python_btn.onRollOut = python_btn.onDragOut = function()
- {
- python_mc.gotoAndStop(1);
- };
- python_btn.onRelease = function()
- {
- level = 0;
- play();
- };
- highScores_btn.onRollOver = function()
- {
- highScores_mc._alpha = 100;
- };
- highScores_btn.onRollOut = highScores_btn.onDragOut = function()
- {
- highScores_mc._alpha = 40;
- };
- highScores_btn.onRelease = function()
- {
- gotoAndStop(44);
- };
- neave_btn.onRelease = function()
- {
- getUrl("http://www.neave.com/games/", "_blank");
- };
-